package chapter1;

import java.util.Scanner;

public class Program2
{
    public static void main(String[] args)
    {
        System.out.println(new Scanner(System.in).next().replaceAll("(.{1})","$1\n"));
    }
}
